.class public Lcom/xingbook/audio/activity/MyAudioActivity;
.super Lcom/xingbook/park/activity/BaseActivity;

# interfaces
.implements Lcom/xingbook/service/download/f;


# instance fields
.field private a:I

.field private b:I

.field private c:Landroid/widget/RelativeLayout;

.field private d:Lcom/xingbook/park/c/a/d;

.field private e:Landroid/widget/LinearLayout;

.field private f:Lcom/xingbook/park/c/a/a;

.field private g:Lcom/xingbook/audio/d/a;

.field private h:Landroid/widget/ListView;

.field private i:Lcom/xingbook/park/ui/p;

.field private l:Ljava/util/LinkedHashMap;

.field private m:Ljava/util/LinkedHashMap;

.field private n:Lcom/xingbook/audio/a/b;

.field private o:Lcom/xingbook/audio/a/d;

.field private p:Landroid/widget/TextView;

.field private q:Z

.field private r:Lcom/xingbook/audio/activity/q;

.field private s:Lcom/xingbook/park/c/a/f;

.field private t:Lcom/xingbook/park/ui/r;

.field private u:Lcom/xingbook/park/c/a/b;

.field private v:Lcom/xingbook/audio/d/l;

.field private w:Lcom/xingbook/park/c/a/p;


# direct methods
.method public constructor <init>()V
    .locals 1

    const/4 v0, -0x1

    invoke-direct {p0}, Lcom/xingbook/park/activity/BaseActivity;-><init>()V

    iput v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->a:I

    iput v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->b:I

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->q:Z

    new-instance v0, Lcom/xingbook/audio/activity/q;

    invoke-direct {v0, p0}, Lcom/xingbook/audio/activity/q;-><init>(Lcom/xingbook/audio/activity/MyAudioActivity;)V

    iput-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->r:Lcom/xingbook/audio/activity/q;

    new-instance v0, Lcom/xingbook/audio/activity/i;

    invoke-direct {v0, p0}, Lcom/xingbook/audio/activity/i;-><init>(Lcom/xingbook/audio/activity/MyAudioActivity;)V

    iput-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->s:Lcom/xingbook/park/c/a/f;

    new-instance v0, Lcom/xingbook/audio/activity/j;

    invoke-direct {v0, p0}, Lcom/xingbook/audio/activity/j;-><init>(Lcom/xingbook/audio/activity/MyAudioActivity;)V

    iput-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->t:Lcom/xingbook/park/ui/r;

    new-instance v0, Lcom/xingbook/audio/activity/k;

    invoke-direct {v0, p0}, Lcom/xingbook/audio/activity/k;-><init>(Lcom/xingbook/audio/activity/MyAudioActivity;)V

    iput-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->u:Lcom/xingbook/park/c/a/b;

    new-instance v0, Lcom/xingbook/audio/activity/l;

    invoke-direct {v0, p0}, Lcom/xingbook/audio/activity/l;-><init>(Lcom/xingbook/audio/activity/MyAudioActivity;)V

    iput-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->v:Lcom/xingbook/audio/d/l;

    new-instance v0, Lcom/xingbook/audio/activity/m;

    invoke-direct {v0, p0}, Lcom/xingbook/audio/activity/m;-><init>(Lcom/xingbook/audio/activity/MyAudioActivity;)V

    iput-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->w:Lcom/xingbook/park/c/a/p;

    return-void
.end method

.method private a(II)V
    .locals 7

    const/4 v5, 0x2

    const/4 v4, -0x1

    const/4 v6, 0x1

    const/4 v3, 0x4

    const/4 v2, 0x0

    iget v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->b:I

    if-eq v0, p1, :cond_0

    invoke-virtual {p0, v2}, Lcom/xingbook/audio/activity/MyAudioActivity;->a(Z)V

    iput p1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->b:I

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->i:Lcom/xingbook/park/ui/p;

    invoke-virtual {v0}, Lcom/xingbook/park/ui/p;->c()V

    if-ne p1, v6, :cond_3

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->p:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->n:Lcom/xingbook/audio/a/b;

    invoke-virtual {v0}, Lcom/xingbook/audio/a/b;->g()Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->m:Ljava/util/LinkedHashMap;

    invoke-virtual {v0}, Ljava/util/LinkedHashMap;->size()I

    move-result v0

    if-lez v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->h:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->n:Lcom/xingbook/audio/a/b;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->n:Lcom/xingbook/audio/a/b;

    invoke-virtual {v0}, Lcom/xingbook/audio/a/b;->m()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_8

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v1

    if-ne v1, v3, :cond_8

    invoke-virtual {v0, v5, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0, v4}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v0

    :goto_0
    if-ltz v0, :cond_1

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->f:Lcom/xingbook/park/c/a/a;

    iget-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->m:Ljava/util/LinkedHashMap;

    invoke-virtual {v2}, Ljava/util/LinkedHashMap;->keySet()Ljava/util/Set;

    move-result-object v2

    invoke-virtual {v1, v2, v0}, Lcom/xingbook/park/c/a/a;->a(Ljava/util/Set;I)V

    :goto_1
    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->m:Ljava/util/LinkedHashMap;

    invoke-virtual {v0}, Ljava/util/LinkedHashMap;->size()I

    move-result v0

    if-le v0, v6, :cond_0

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->e:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->f:Lcom/xingbook/park/c/a/a;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    :cond_0
    :goto_2
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->f:Lcom/xingbook/park/c/a/a;

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->m:Ljava/util/LinkedHashMap;

    invoke-virtual {v1}, Ljava/util/LinkedHashMap;->keySet()Ljava/util/Set;

    move-result-object v1

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/park/c/a/a;->a(Ljava/util/Set;I)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->m:Ljava/util/LinkedHashMap;

    invoke-virtual {v0}, Ljava/util/LinkedHashMap;->keySet()Ljava/util/Set;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/park/b/g;

    iget-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->n:Lcom/xingbook/audio/a/b;

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->m:Ljava/util/LinkedHashMap;

    invoke-virtual {v1, v0}, Ljava/util/LinkedHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/ArrayList;

    invoke-virtual {v0}, Lcom/xingbook/park/b/g;->a()I

    move-result v3

    invoke-virtual {v0}, Lcom/xingbook/park/b/g;->b()Ljava/lang/String;

    move-result-object v0

    iget-object v4, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->f:Lcom/xingbook/park/c/a/a;

    invoke-virtual {v4}, Lcom/xingbook/park/c/a/a;->getSelectedTag()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v1, v3, v0, v4}, Lcom/xingbook/audio/a/b;->a(Ljava/util/ArrayList;ILjava/lang/String;Ljava/lang/String;)V

    goto :goto_1

    :cond_2
    invoke-virtual {p0}, Lcom/xingbook/audio/activity/MyAudioActivity;->a()V

    goto :goto_2

    :cond_3
    if-nez p1, :cond_0

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->o:Lcom/xingbook/audio/a/d;

    invoke-virtual {v0}, Lcom/xingbook/audio/a/d;->g()Z

    move-result v0

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->l:Ljava/util/LinkedHashMap;

    invoke-virtual {v0}, Ljava/util/LinkedHashMap;->size()I

    move-result v0

    if-lez v0, :cond_6

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->h:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->o:Lcom/xingbook/audio/a/d;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->o:Lcom/xingbook/audio/a/d;

    invoke-virtual {v0}, Lcom/xingbook/audio/a/d;->m()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_7

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v1

    if-ne v1, v3, :cond_7

    invoke-virtual {v0, v5, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0, v4}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v0

    :goto_3
    if-ltz v0, :cond_5

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->f:Lcom/xingbook/park/c/a/a;

    iget-object v3, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->l:Ljava/util/LinkedHashMap;

    invoke-virtual {v3}, Ljava/util/LinkedHashMap;->keySet()Ljava/util/Set;

    move-result-object v3

    invoke-virtual {v1, v3, v0}, Lcom/xingbook/park/c/a/a;->a(Ljava/util/Set;I)V

    :goto_4
    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->l:Ljava/util/LinkedHashMap;

    invoke-virtual {v0}, Ljava/util/LinkedHashMap;->size()I

    move-result v0

    if-le v0, v6, :cond_4

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->e:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->f:Lcom/xingbook/park/c/a/a;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    :cond_4
    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->p:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_2

    :cond_5
    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->f:Lcom/xingbook/park/c/a/a;

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->l:Ljava/util/LinkedHashMap;

    invoke-virtual {v1}, Ljava/util/LinkedHashMap;->keySet()Ljava/util/Set;

    move-result-object v1

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/park/c/a/a;->a(Ljava/util/Set;I)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->l:Ljava/util/LinkedHashMap;

    invoke-virtual {v0}, Ljava/util/LinkedHashMap;->keySet()Ljava/util/Set;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/park/b/g;

    iget-object v3, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->o:Lcom/xingbook/audio/a/d;

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->l:Ljava/util/LinkedHashMap;

    invoke-virtual {v1, v0}, Ljava/util/LinkedHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/ArrayList;

    invoke-virtual {v0}, Lcom/xingbook/park/b/g;->a()I

    move-result v4

    invoke-virtual {v0}, Lcom/xingbook/park/b/g;->b()Ljava/lang/String;

    move-result-object v0

    iget-object v5, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->f:Lcom/xingbook/park/c/a/a;

    invoke-virtual {v5}, Lcom/xingbook/park/c/a/a;->getSelectedTag()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v1, v4, v0, v5}, Lcom/xingbook/audio/a/d;->a(Ljava/util/ArrayList;ILjava/lang/String;Ljava/lang/String;)V

    goto :goto_4

    :cond_6
    invoke-virtual {p0, p2}, Lcom/xingbook/audio/activity/MyAudioActivity;->a(I)V

    goto/16 :goto_2

    :cond_7
    move v0, v2

    goto :goto_3

    :cond_8
    move v0, v2

    goto/16 :goto_0
.end method

.method static synthetic a(Lcom/xingbook/audio/activity/MyAudioActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/audio/activity/MyAudioActivity;->b()V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/audio/activity/MyAudioActivity;II)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/xingbook/audio/activity/MyAudioActivity;->a(II)V

    return-void
.end method

.method static synthetic b(Lcom/xingbook/audio/activity/MyAudioActivity;)Lcom/xingbook/park/c/a/d;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->d:Lcom/xingbook/park/c/a/d;

    return-object v0
.end method

.method private b()V
    .locals 0

    invoke-virtual {p0}, Lcom/xingbook/audio/activity/MyAudioActivity;->finish()V

    return-void
.end method

.method static synthetic c(Lcom/xingbook/audio/activity/MyAudioActivity;)Ljava/util/LinkedHashMap;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->l:Ljava/util/LinkedHashMap;

    return-object v0
.end method

.method static synthetic d(Lcom/xingbook/audio/activity/MyAudioActivity;)Lcom/xingbook/audio/a/d;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->o:Lcom/xingbook/audio/a/d;

    return-object v0
.end method

.method static synthetic e(Lcom/xingbook/audio/activity/MyAudioActivity;)Lcom/xingbook/park/c/a/a;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->f:Lcom/xingbook/park/c/a/a;

    return-object v0
.end method

.method static synthetic f(Lcom/xingbook/audio/activity/MyAudioActivity;)Landroid/widget/ListView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->h:Landroid/widget/ListView;

    return-object v0
.end method

.method static synthetic g(Lcom/xingbook/audio/activity/MyAudioActivity;)Ljava/util/LinkedHashMap;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->m:Ljava/util/LinkedHashMap;

    return-object v0
.end method

.method static synthetic h(Lcom/xingbook/audio/activity/MyAudioActivity;)Lcom/xingbook/audio/a/b;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->n:Lcom/xingbook/audio/a/b;

    return-object v0
.end method

.method static synthetic i(Lcom/xingbook/audio/activity/MyAudioActivity;)I
    .locals 1

    iget v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->a:I

    return v0
.end method

.method static synthetic j(Lcom/xingbook/audio/activity/MyAudioActivity;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->e:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic k(Lcom/xingbook/audio/activity/MyAudioActivity;)Lcom/xingbook/park/ui/p;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->i:Lcom/xingbook/park/ui/p;

    return-object v0
.end method

.method static synthetic l(Lcom/xingbook/audio/activity/MyAudioActivity;)Lcom/xingbook/audio/d/a;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->g:Lcom/xingbook/audio/d/a;

    return-object v0
.end method

.method static synthetic m(Lcom/xingbook/audio/activity/MyAudioActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->p:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic n(Lcom/xingbook/audio/activity/MyAudioActivity;)Lcom/xingbook/audio/activity/q;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->r:Lcom/xingbook/audio/activity/q;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 3

    const/4 v2, 0x1

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->r:Lcom/xingbook/audio/activity/q;

    const/4 v1, 0x0

    invoke-virtual {v0, v2, v2, v1}, Lcom/xingbook/audio/activity/q;->obtainMessage(III)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/audio/activity/p;

    invoke-direct {v1, p0}, Lcom/xingbook/audio/activity/p;-><init>(Lcom/xingbook/audio/activity/MyAudioActivity;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    return-void
.end method

.method public a(I)V
    .locals 4

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->r:Lcom/xingbook/audio/activity/q;

    const/4 v1, 0x1

    invoke-virtual {v0, v1, v3, v3}, Lcom/xingbook/audio/activity/q;->obtainMessage(III)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->g()Lcom/xingbook/park/d/e;

    move-result-object v0

    iget v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->a:I

    invoke-static {v1}, Lcom/xingbook/c/t;->g(I)I

    move-result v1

    iget-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->l:Ljava/util/LinkedHashMap;

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/park/d/e;->a(ILjava/util/LinkedHashMap;)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->r:Lcom/xingbook/audio/activity/q;

    const/4 v1, 0x3

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v3, v3, v2}, Lcom/xingbook/audio/activity/q;->obtainMessage(IIILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    return-void
.end method

.method public a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V
    .locals 1

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    invoke-virtual {v0, p1, p2, p3, p4}, Lcom/xingbook/service/download/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V

    return-void
.end method

.method public a(Z)V
    .locals 4

    const/4 v3, 0x0

    const/4 v2, 0x1

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->p:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->isSelected()Z

    move-result v0

    if-ne p1, v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    if-eqz p1, :cond_4

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->f:Lcom/xingbook/park/c/a/a;

    invoke-virtual {v0}, Lcom/xingbook/park/c/a/a;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-eqz v0, :cond_2

    instance-of v1, v0, Landroid/view/ViewGroup;

    if-eqz v1, :cond_2

    check-cast v0, Landroid/view/ViewGroup;

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->f:Lcom/xingbook/park/c/a/a;

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V

    :cond_2
    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->g:Lcom/xingbook/audio/d/a;

    invoke-virtual {v0}, Lcom/xingbook/audio/d/a;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-eqz v0, :cond_3

    instance-of v1, v0, Landroid/view/ViewGroup;

    if-eqz v1, :cond_3

    check-cast v0, Landroid/view/ViewGroup;

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->g:Lcom/xingbook/audio/d/a;

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V

    :cond_3
    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->e:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->g:Lcom/xingbook/audio/d/a;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->o:Lcom/xingbook/audio/a/d;

    invoke-virtual {v0, v2}, Lcom/xingbook/audio/a/d;->a(Z)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->g:Lcom/xingbook/audio/d/a;

    invoke-virtual {v0}, Lcom/xingbook/audio/d/a;->a()V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->p:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->p:Landroid/widget/TextView;

    const-string v1, " \u5b8c\u6210  "

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_4
    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->g:Lcom/xingbook/audio/d/a;

    invoke-virtual {v0}, Lcom/xingbook/audio/d/a;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-eqz v0, :cond_5

    instance-of v1, v0, Landroid/view/ViewGroup;

    if-eqz v1, :cond_5

    check-cast v0, Landroid/view/ViewGroup;

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->g:Lcom/xingbook/audio/d/a;

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V

    :cond_5
    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->o:Lcom/xingbook/audio/a/d;

    invoke-virtual {v0, v3}, Lcom/xingbook/audio/a/d;->a(Z)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->p:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->p:Landroid/widget/TextView;

    const-string v1, " \u7ba1\u7406  "

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->f:Lcom/xingbook/park/c/a/a;

    invoke-virtual {v0}, Lcom/xingbook/park/c/a/a;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-eqz v0, :cond_6

    instance-of v1, v0, Landroid/view/ViewGroup;

    if-eqz v1, :cond_6

    check-cast v0, Landroid/view/ViewGroup;

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->f:Lcom/xingbook/park/c/a/a;

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V

    :cond_6
    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->l:Ljava/util/LinkedHashMap;

    invoke-virtual {v0}, Ljava/util/LinkedHashMap;->size()I

    move-result v0

    if-le v0, v2, :cond_0

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->e:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->f:Lcom/xingbook/park/c/a/a;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    goto/16 :goto_0
.end method

.method public e()Ljava/lang/String;
    .locals 3

    const-string v0, "\u6211\u7684\u97f3\u9891"

    const/16 v1, 0x40

    iget v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->a:I

    invoke-static {v1, v2}, Lcom/xingbook/c/t;->a(II)Z

    move-result v1

    if-eqz v1, :cond_1

    const-string v0, "\u6211\u7684\u513f\u6b4c"

    :cond_0
    :goto_0
    return-object v0

    :cond_1
    const/16 v1, 0x50

    iget v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->a:I

    invoke-static {v1, v2}, Lcom/xingbook/c/t;->a(II)Z

    move-result v1

    if-eqz v1, :cond_0

    const-string v0, "\u6211\u7684\u542c\u542c"

    goto :goto_0
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 11

    const/4 v10, 0x3

    const/4 v9, -0x2

    const/4 v8, 0x1

    const/4 v3, 0x0

    const/4 v7, -0x1

    invoke-virtual {p0}, Lcom/xingbook/audio/activity/MyAudioActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    if-eqz v0, :cond_0

    const-string v1, "com.xingbook.audio.activity.MyDownAudioActivity.INTENT_RESTYPE"

    invoke-virtual {v0, v1, v7}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->a:I

    :cond_0
    iget v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->a:I

    if-ne v0, v7, :cond_1

    const-string v0, "\u5f53\u524d\u7248\u672c\u4e0d\u652f\u6301\u8be5\u97f3\u9891\u7c7b\u578b~"

    invoke-static {p0, v0, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    invoke-virtual {p0}, Lcom/xingbook/audio/activity/MyAudioActivity;->finish()V

    :cond_1
    invoke-virtual {p0}, Lcom/xingbook/audio/activity/MyAudioActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    new-instance v1, Landroid/widget/RelativeLayout;

    invoke-direct {v1, v0}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->c:Landroid/widget/RelativeLayout;

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->c:Landroid/widget/RelativeLayout;

    invoke-virtual {v1, v7}, Landroid/widget/RelativeLayout;->setBackgroundColor(I)V

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->c:Landroid/widget/RelativeLayout;

    invoke-virtual {p0, v1}, Lcom/xingbook/audio/activity/MyAudioActivity;->setContentView(Landroid/view/View;)V

    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v1

    iget-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->c:Landroid/widget/RelativeLayout;

    iget-object v4, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->t:Lcom/xingbook/park/ui/r;

    invoke-static {p0, v2, v1, v4}, Lcom/xingbook/park/ui/p;->a(Landroid/app/Activity;Landroid/widget/RelativeLayout;FLcom/xingbook/park/ui/r;)Lcom/xingbook/park/ui/p;

    move-result-object v2

    iput-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->i:Lcom/xingbook/park/ui/p;

    new-instance v2, Lcom/xingbook/park/c/a/a;

    iget-object v4, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->u:Lcom/xingbook/park/c/a/b;

    invoke-direct {v2, p0, v1, v4}, Lcom/xingbook/park/c/a/a;-><init>(Landroid/app/Activity;FLcom/xingbook/park/c/a/b;)V

    iput-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->f:Lcom/xingbook/park/c/a/a;

    iget-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->f:Lcom/xingbook/park/c/a/a;

    new-instance v4, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v4, v7, v9}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v2, v4}, Lcom/xingbook/park/c/a/a;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v2, Ljava/util/LinkedHashMap;

    invoke-direct {v2}, Ljava/util/LinkedHashMap;-><init>()V

    iput-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->m:Ljava/util/LinkedHashMap;

    new-instance v2, Ljava/util/LinkedHashMap;

    invoke-direct {v2}, Ljava/util/LinkedHashMap;-><init>()V

    iput-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->l:Ljava/util/LinkedHashMap;

    new-instance v2, Lcom/xingbook/audio/a/b;

    iget-object v4, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->w:Lcom/xingbook/park/c/a/p;

    iget-object v5, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->v:Lcom/xingbook/audio/d/l;

    invoke-direct {v2, p0, v4, v5}, Lcom/xingbook/audio/a/b;-><init>(Landroid/app/Activity;Lcom/xingbook/park/c/a/p;Lcom/xingbook/audio/d/l;)V

    iput-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->n:Lcom/xingbook/audio/a/b;

    new-instance v2, Lcom/xingbook/audio/a/d;

    iget-object v4, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->w:Lcom/xingbook/park/c/a/p;

    iget-object v5, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->v:Lcom/xingbook/audio/d/l;

    new-instance v6, Lcom/xingbook/audio/activity/n;

    invoke-direct {v6, p0}, Lcom/xingbook/audio/activity/n;-><init>(Lcom/xingbook/audio/activity/MyAudioActivity;)V

    invoke-direct {v2, p0, v4, v5, v6}, Lcom/xingbook/audio/a/d;-><init>(Landroid/app/Activity;Lcom/xingbook/park/c/a/p;Lcom/xingbook/audio/d/l;Lcom/xingbook/audio/a/e;)V

    iput-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->o:Lcom/xingbook/audio/a/d;

    new-instance v2, Landroid/widget/LinearLayout;

    invoke-direct {v2, v0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->e:Landroid/widget/LinearLayout;

    iget-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v8}, Landroid/widget/LinearLayout;->setOrientation(I)V

    iget-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->e:Landroid/widget/LinearLayout;

    const v4, 0x7f0a0042

    invoke-virtual {v2, v4}, Landroid/widget/LinearLayout;->setId(I)V

    new-instance v2, Landroid/widget/ListView;

    invoke-direct {v2, v0}, Landroid/widget/ListView;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->h:Landroid/widget/ListView;

    iget-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->h:Landroid/widget/ListView;

    invoke-virtual {v2, v3}, Landroid/widget/ListView;->setDividerHeight(I)V

    iget-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->h:Landroid/widget/ListView;

    const v4, 0x7f070043

    invoke-virtual {v2, v4}, Landroid/widget/ListView;->setSelector(I)V

    iget-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->h:Landroid/widget/ListView;

    const v4, 0xffffff

    invoke-virtual {v2, v4}, Landroid/widget/ListView;->setCacheColorHint(I)V

    new-instance v2, Lcom/xingbook/audio/d/a;

    iget-object v4, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->o:Lcom/xingbook/audio/a/d;

    invoke-direct {v2, p0, v1, v4}, Lcom/xingbook/audio/d/a;-><init>(Landroid/content/Context;FLcom/xingbook/park/ui/o;)V

    iput-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->g:Lcom/xingbook/audio/d/a;

    iget-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->g:Lcom/xingbook/audio/d/a;

    const v4, 0x7f0a0025

    invoke-virtual {v2, v4}, Lcom/xingbook/audio/d/a;->setId(I)V

    iget-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->g:Lcom/xingbook/audio/d/a;

    new-instance v4, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v4, v7, v9}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v2, v4}, Lcom/xingbook/audio/d/a;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v2, Landroid/widget/TextView;

    invoke-direct {v2, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->p:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->p:Landroid/widget/TextView;

    const-string v2, " \u7ba1\u7406  "

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->p:Landroid/widget/TextView;

    const/16 v2, 0x11

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setGravity(I)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->p:Landroid/widget/TextView;

    const/high16 v2, 0x41f0

    mul-float/2addr v2, v1

    invoke-virtual {v0, v3, v2}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->p:Landroid/widget/TextView;

    invoke-virtual {v0, v7}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->p:Landroid/widget/TextView;

    new-instance v2, Lcom/xingbook/audio/activity/o;

    invoke-direct {v2, p0}, Lcom/xingbook/audio/activity/o;-><init>(Lcom/xingbook/audio/activity/MyAudioActivity;)V

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->p:Landroid/widget/TextView;

    const/16 v2, 0x8

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->c:Landroid/widget/RelativeLayout;

    iget-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->s:Lcom/xingbook/park/c/a/f;

    invoke-static {p0, v0, v1, v2, v8}, Lcom/xingbook/park/c/a/d;->a(Landroid/app/Activity;Landroid/widget/RelativeLayout;FLcom/xingbook/park/c/a/f;Z)Lcom/xingbook/park/c/a/d;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->d:Lcom/xingbook/park/c/a/d;

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->d:Lcom/xingbook/park/c/a/d;

    const v1, 0x7f0a0019

    invoke-virtual {v0, v1}, Lcom/xingbook/park/c/a/d;->setId(I)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->d:Lcom/xingbook/park/c/a/d;

    invoke-virtual {p0}, Lcom/xingbook/audio/activity/MyAudioActivity;->j()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x2

    new-array v2, v2, [Ljava/lang/String;

    const-string v4, "\u6211\u7684\u4e0b\u8f7d"

    aput-object v4, v2, v3

    const-string v4, "\u6211\u7684\u6536\u85cf"

    aput-object v4, v2, v8

    invoke-virtual {v0, v1, v3, v2}, Lcom/xingbook/park/c/a/d;->a(Ljava/lang/String;I[Ljava/lang/String;)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->d:Lcom/xingbook/park/c/a/d;

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->p:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Lcom/xingbook/park/c/a/d;->a(Landroid/view/View;)Z

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v0, v7, v9}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const v1, 0x7f0a0019

    invoke-virtual {v0, v10, v1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->c:Landroid/widget/RelativeLayout;

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v0, v7, v7}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const v1, 0x7f0a0042

    invoke-virtual {v0, v10, v1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->h:Landroid/widget/ListView;

    invoke-virtual {v1, v0}, Landroid/widget/ListView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->c:Landroid/widget/RelativeLayout;

    iget-object v2, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->h:Landroid/widget/ListView;

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->i:Lcom/xingbook/park/ui/p;

    invoke-virtual {v1, v0}, Lcom/xingbook/park/ui/p;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->i:Lcom/xingbook/park/ui/p;

    invoke-virtual {v0}, Lcom/xingbook/park/ui/p;->bringToFront()V

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->c:Landroid/widget/RelativeLayout;

    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v2

    move-object v0, p0

    move v4, v3

    move v5, v3

    move v6, v3

    invoke-static/range {v0 .. v6}, Lcom/xingbook/park/ui/a;->a(Landroid/content/Context;Landroid/widget/RelativeLayout;FIIII)Lcom/xingbook/park/ui/a;

    invoke-super {p0, p1}, Lcom/xingbook/park/activity/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->n:Lcom/xingbook/audio/a/b;

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->a(Lcom/xingbook/service/download/m;)V

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->o:Lcom/xingbook/audio/a/d;

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->a(Lcom/xingbook/service/download/m;)V

    iput-boolean v8, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->q:Z

    return-void
.end method

.method protected onDestroy()V
    .locals 2

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->n:Lcom/xingbook/audio/a/b;

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->b(Lcom/xingbook/service/download/m;)V

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->o:Lcom/xingbook/audio/a/d;

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->b(Lcom/xingbook/service/download/m;)V

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onDestroy()V

    return-void
.end method

.method public onPause()V
    .locals 1

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onPause()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onPause(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/audio/activity/MyAudioActivity;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->b(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->a(Landroid/content/Context;)V

    return-void
.end method

.method public onResume()V
    .locals 4

    const/4 v3, 0x0

    const/4 v2, -0x1

    const/4 v1, 0x0

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onResume()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onResume(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/audio/activity/MyAudioActivity;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->a(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->b(Landroid/content/Context;)V

    iget-boolean v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->q:Z

    if-eqz v0, :cond_1

    iput-boolean v3, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->q:Z

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->l:Ljava/util/LinkedHashMap;

    invoke-virtual {v0}, Ljava/util/LinkedHashMap;->clear()V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->o:Lcom/xingbook/audio/a/d;

    invoke-virtual {v0, v1, v2, v1, v1}, Lcom/xingbook/audio/a/d;->a(Ljava/util/ArrayList;ILjava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->m:Ljava/util/LinkedHashMap;

    invoke-virtual {v0}, Ljava/util/LinkedHashMap;->clear()V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->n:Lcom/xingbook/audio/a/b;

    invoke-virtual {v0, v1, v2, v1, v1}, Lcom/xingbook/audio/a/b;->a(Ljava/util/ArrayList;ILjava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/MyAudioActivity;->d:Lcom/xingbook/park/c/a/d;

    invoke-virtual {v0}, Lcom/xingbook/park/c/a/d;->getSelectedIndex()I

    move-result v0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_2

    invoke-virtual {p0}, Lcom/xingbook/audio/activity/MyAudioActivity;->a()V

    goto :goto_0

    :cond_2
    if-nez v0, :cond_0

    invoke-virtual {p0, v3}, Lcom/xingbook/audio/activity/MyAudioActivity;->a(I)V

    goto :goto_0
.end method
